package com.lanf.generator;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author tanlingfei
 * @version 1.0
 * @description TODO
 * @date 2023/5/29 21:56
 */
@Data
public class CodeVo {
 /*   private String connectionURL = "jdbc:mysql://localhost:3306/base-lf?characterEncoding=utf-8&useSSL=false&nullCatalogMeansCurrent=true";
    private String username = "root";
    private String password = "root";*/
    /*private String driverName = "com.mysql.cj.jdbc.Driver";*/
    private String connectionURL;
    private String username;
    private String password;
    private String driverName;


    private String tabName = "student"; //生成表
    private String packageName = "com.lanf.cust";//对应包名 根据包名生成路径
    private String filePath = "F:/base-mf/service-business/service-cust/src/main/";  //生成代码存放目录
    private String frontPath = "F:/base-front/src/";  //前端生成代码存放目录
    private String ftlPath = "F:\\base-mf\\code-generator\\src\\main\\resources\\template"; //模板文件目录
    private String isGenLeftDept = "false";
    private String isLazyDept = "false";
    private String author = "tanlingfei";
    private String genType = "0";  //0:常规列表  1:树形列表

    private List<CodeListVo> mulList = new ArrayList<>();
    private List<String> genList = new ArrayList<>();
}
